Xbasic
SQL::TableSnapshotStore Method
Syntax
L Store (Connection as SQL::Connection [, CreateTable as L [, EventScript as C ] ] )
Arguments
- ConnectionSQL::Connection
An explicit, open AlphaDAO connection string to the database.
- CreateTablesLogical
Optional. Default value is .t.. If .t., tables will be created if they do not already exist. If .f., the operation assumes the table exists.
- EventScriptCharacter
Optional. A string that contains an Xbasic event script that is executed when an event is triggered during the operation. See DatabaseSnapshot Events for additional information.
Description
Creates a table and stores data contained in the snapshot into the database referenced by the open connection provided. If the parameter CreateTables is set to false, the table is assumed to exist.
Discussion
Returns true if the function executed successfully and false if an error occurred.
See Also